]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
messageTray: don't force a size on SourceActor's iconBin
authorCosimo Cecchi <cosimoc@gnome.org>
Tue, 18 Feb 2014 05:03:09 +0000 (21:03 -0800)
committerCosimo Cecchi <cosimoc@gnome.org>
Tue, 18 Feb 2014 15:46:54 +0000 (07:46 -0800)
Supports hidpi icons this way.

https://bugzilla.gnome.org/show_bug.cgi?id=724607

js/ui/messageTray.js

index 68a22576d80a978fe7da7e71e9676d75f9663105..1e5429717cbaa8f675211747e21f06fa13ee94b2 100644 (file)
@@ -1162,9 +1162,7 @@ const SourceActor = new Lang.Class({
         }));
         this._actorDestroyed = false;
 
-        this._iconBin = new St.Bin({ width: size,
-                                     height: size,
-                                     x_fill: true,
+        this._iconBin = new St.Bin({ x_fill: true,
                                      y_fill: true });
 
         this.actor.add_actor(this._iconBin);